package org.Lin.model;

import java.time.LocalDateTime;

public class OperationLog {
    private int ID;
    private String operationObject;
    private String operationCode;
    private String operationContent;
    private LocalDateTime operationTime;

    // Getters and Setters
    public int getID() { return ID; }
    public void setID(int ID) { this.ID = ID; }

    public String getOperationObject() { return operationObject; }
    public void setOperationObject(String operationObject) { this.operationObject = operationObject; }

    public String getOperationCode() { return operationCode; }
    public void setOperationCode(String operationCode) { this.operationCode = operationCode; }

    public String getOperationContent() { return operationContent; }
    public void setOperationContent(String operationContent) { this.operationContent = operationContent; }

    public LocalDateTime getOperationTime() { return operationTime; }
    public void setOperationTime(LocalDateTime operationTime) { this.operationTime = operationTime; }

    @Override
    public String toString() {
        return "OperationLog{" +
                "operationObject='" + operationObject + '\'' +
                ", operationCode='" + operationCode + '\'' +
                ", operationContent='" + operationContent + '\'' +
                ", operationTime=" + operationTime +
                '}';
    }
}
